package com.scrx.ymg.entity;
// default package

import java.util.HashSet;
import java.util.Set;


/**
 * GoodsType entity. @author MyEclipse Persistence Tools
 */

public class GoodsType  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private String goodsName;
     private Integer parentId;
     private String picture;


    // Constructors

    /** default constructor */
    public GoodsType() {
    }

    
    /** full constructor */
    public GoodsType(String goodsName, Integer parentId, String picture) {
        this.goodsName = goodsName;
        this.parentId = parentId;
        this.picture = picture;

    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public String getGoodsName() {
        return this.goodsName;
    }
    
    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Integer getParentId() {
        return this.parentId;
    }
    
    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getPicture() {
        return this.picture;
    }
    
    public void setPicture(String picture) {
        this.picture = picture;
    }


   








}